<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn"%>
<%@include file="resource.jsp"%>
<!DOCTYPE html>
<html>
	<head>
		<%@include file="css.jsp"%>
		<link href="${ctx }/res/css/style.css?v=2.2.0" rel="stylesheet"/>
		<title>ash快速开发框架</title>
	</head>
<body class="gray-bg">
    <div class="middle-box text-center loginscreen  animated fadeInDown">
        <div>
            <div>
                <h1 class="logo-name">Ash</h1>
                <h2 class="logo-name2">快速开发框架</h2>
            </div>
            <div class="form-box">
            <form class="m-t" role="form" action="${ctx}/admin/main" method="post">
		        <c:if test="${!(empty message)}">
					<div class="form-group">
                    		<div class="alert alert-error">
								<strong>Error!</strong> ${message}
							</div>
                	</div> 
				</c:if>

                <div class="form-group">
                    <input type="text" class="form-control" placeholder="用户名" name="username" required="">
                </div>
                <div class="form-group">
                    <input type="password" class="form-control" placeholder="密码"  name="password" required="">
                </div>
                <button type="submit" class="btn btn-primary block full-width m-b">登 录</button>
                <p class="text-muted text-center"> 
                <a href="login.html#">忘记密码了？</a> | <a href="register.html">注册一个新账号</a>
                </p>
            </form>
            </div>
        </div>
    </div>

   <%@include file="js.jsp"%>

</body>

</html>

